<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    img{
        /* height: 100px; */
        /* width: 1000px; */
    }
   /* 
     div{
        position: absolute;
        display: inline-block;
        height: 100px;
        width: 100px;
        background-color: pink;
    }
   */
    .div1{
        /* height: 100px;
         */
         width: 100px;
        background-color: pink;
    }
    .div2{
        /* float: middle; */
        height: 100px;
        width: 100px;
        background-color: hotpink;
        background-image: url(./image/play.png);
        background-image: url(./image/party.jpeg);
        /* background-position: 50% 50%; */
        /* background-repeat: no-repeat; */
        /* background-size: 100px 80px; */
        overflow: visible;
    }
</style>
<body>
    <!-- 行内块 -->
    <!-- <img src="./image/party.jpeg" alt=""> -->
    <span>12</span>
    <div>123</div>
    <div class="div1">
        <!-- <img src="./image/party.jpeg" alt=""> -->

    </div>
    <span>123</span>
    <div class="div2">
        <!-- <img src="./image/play.png" alt=""> -->
    </div>
</body>
</html>